[INFO] cloning repository https://github.com/lcdr/mod_loader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcdr/mod_loader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fmod_loader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fmod_loader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 536dac26274db24171bd93a71d4b1fa9f1181615
[INFO] checking lcdr/mod_loader against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fmod_loader" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lcdr/mod_loader on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4/source/.cargo/config
[INFO] started tweaking git repo https://github.com/lcdr/mod_loader
[INFO] finished tweaking git repo https://github.com/lcdr/mod_loader
[INFO] tweaked toml for git repo https://github.com/lcdr/mod_loader written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/lcdr/mod_loader already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4428ede5f5fc415b519f98bff16728dd3196fbc092bdc72cc31fbb045c1f0cb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b4428ede5f5fc415b519f98bff16728dd3196fbc092bdc72cc31fbb045c1f0cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4428ede5f5fc415b519f98bff16728dd3196fbc092bdc72cc31fbb045c1f0cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4428ede5f5fc415b519f98bff16728dd3196fbc092bdc72cc31fbb045c1f0cb", kill_on_drop: false }`
[INFO] [stdout] b4428ede5f5fc415b519f98bff16728dd3196fbc092bdc72cc31fbb045c1f0cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03bcdfdddd8ed012dbc91ab169251c2effadba8d33793af58465add80b63dd5e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "03bcdfdddd8ed012dbc91ab169251c2effadba8d33793af58465add80b63dd5e", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.6
[INFO] [stderr]     Checking dinput8 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]   --> src/lib.rs:99:77
[INFO] [stdout]    |
[INFO] [stdout] 99 | #[naked]#[no_mangle]pub extern "system" fn DirectInput8Create()  { unsafe { asm!("jmp *$0":: "r"(FUNCS[0])); }}
[INFO] [stdout]    |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                                             |
[INFO] [stdout]    |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]    = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]    --> src/lib.rs:100:77
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[naked]#[no_mangle]pub extern "system" fn DllCanUnloadNow()     { unsafe { asm!("jmp *$0":: "r"(FUNCS[1])); }}
[INFO] [stdout]     |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                                             |
[INFO] [stdout]     |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]     = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]    --> src/lib.rs:101:77
[INFO] [stdout]     |
[INFO] [stdout] 101 | #[naked]#[no_mangle]pub extern "system" fn DllGetClassObject()   { unsafe { asm!("jmp *$0":: "r"(FUNCS[2])); }}
[INFO] [stdout]     |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                                             |
[INFO] [stdout]     |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]     = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]    --> src/lib.rs:102:77
[INFO] [stdout]     |
[INFO] [stdout] 102 | #[naked]#[no_mangle]pub extern "system" fn DllRegisterServer()   { unsafe { asm!("jmp *$0":: "r"(FUNCS[3])); }}
[INFO] [stdout]     |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                                             |
[INFO] [stdout]     |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]     = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]    --> src/lib.rs:103:77
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[naked]#[no_mangle]pub extern "system" fn DllUnregisterServer() { unsafe { asm!("jmp *$0":: "r"(FUNCS[4])); }}
[INFO] [stdout]     |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                                             |
[INFO] [stdout]     |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]     = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 13 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:17:2
[INFO] [stdout]    |
[INFO] [stdout] 17 |     um::{
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]   --> src/lib.rs:99:77
[INFO] [stdout]    |
[INFO] [stdout] 99 | #[naked]#[no_mangle]pub extern "system" fn DirectInput8Create()  { unsafe { asm!("jmp *$0":: "r"(FUNCS[0])); }}
[INFO] [stdout]    |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                                             |
[INFO] [stdout]    |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]    = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]    --> src/lib.rs:100:77
[INFO] [stdout]     |
[INFO] [stdout] 100 | #[naked]#[no_mangle]pub extern "system" fn DllCanUnloadNow()     { unsafe { asm!("jmp *$0":: "r"(FUNCS[1])); }}
[INFO] [stdout]     |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                                             |
[INFO] [stdout]     |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]     = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]    --> src/lib.rs:101:77
[INFO] [stdout]     |
[INFO] [stdout] 101 | #[naked]#[no_mangle]pub extern "system" fn DllGetClassObject()   { unsafe { asm!("jmp *$0":: "r"(FUNCS[2])); }}
[INFO] [stdout]     |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                                             |
[INFO] [stdout]     |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]     = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]    --> src/lib.rs:102:77
[INFO] [stdout]     |
[INFO] [stdout] 102 | #[naked]#[no_mangle]pub extern "system" fn DllRegisterServer()   { unsafe { asm!("jmp *$0":: "r"(FUNCS[3])); }}
[INFO] [stdout]     |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                                             |
[INFO] [stdout]     |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]     = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported
[INFO] [stdout]    --> src/lib.rs:103:77
[INFO] [stdout]     |
[INFO] [stdout] 103 | #[naked]#[no_mangle]pub extern "system" fn DllUnregisterServer() { unsafe { asm!("jmp *$0":: "r"(FUNCS[4])); }}
[INFO] [stdout]     |                                                                             ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                                                             |
[INFO] [stdout]     |                                                                             help: replace with: `llvm_asm!`
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider migrating to the new asm! syntax specified in RFC 2873
[INFO] [stdout]     = note: alternatively, switch to llvm_asm! to keep your code working as it is
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 13 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:17:2
[INFO] [stdout]    |
[INFO] [stdout] 17 |     um::{
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]  --> src/lib.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | static mut FUNCS: [FARPROC; 5] = [0 as FARPROC; 5];
[INFO] [stdout]   |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]  --> src/lib.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 | static mut FUNCS: [FARPROC; 5] = [0 as FARPROC; 5];
[INFO] [stdout]   |                                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/lib.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |     dll_module: HINSTANCE,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |     call_reason: DWORD,
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/lib.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     reserved: LPVOID)
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     -> BOOL {
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     const DLL_PROCESS_ATTACH: DWORD = 1;
[INFO] [stdout]    |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 |         _ => TRUE
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/lib.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn init() -> BOOL {
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stdout]   --> src/lib.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let dinput = unsafe { LoadLibraryA(s(b"C:\\Windows\\System32\\dinput8.dll\0")) };
[INFO] [stdout]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 AllocConsole();
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 60 |         error!("modloader error: could not load real dinput8");
[INFO] [stdout]    |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 60 |         error!("modloader error: could not load real dinput8");
[INFO] [stdout]    |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 60 |         error!("modloader error: could not load real dinput8");
[INFO] [stdout]    |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 60 |         error!("modloader error: could not load real dinput8");
[INFO] [stdout]    |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 |         return FALSE;
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         FUNCS[0] = GetProcAddress(dinput, s(b"DirectInput8Create\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         FUNCS[1] = GetProcAddress(dinput, s(b"DllCanUnloadNow\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |         FUNCS[2] = GetProcAddress(dinput, s(b"DllGetClassObject\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 |         FUNCS[3] = GetProcAddress(dinput, s(b"DllRegisterServer\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |         FUNCS[4] = GetProcAddress(dinput, s(b"DllUnregisterServer\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         Ok(()) => TRUE,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 AllocConsole();
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 74 |             error!("modloader error: {}", e);
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 74 |             error!("modloader error: {}", e);
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 74 |             error!("modloader error: {}", e);
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 74 |             error!("modloader error: {}", e);
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 |             FALSE
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stdout]   --> src/lib.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let m = unsafe { LoadLibraryA(cstring.as_c_str().as_ptr()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 AllocConsole();
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 90 |                 error!("modloader error: could not load mod: {}", string);
[INFO] [stdout]    |                 ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 90 |                 error!("modloader error: could not load mod: {}", string);
[INFO] [stdout]    |                 ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 90 |                 error!("modloader error: could not load mod: {}", string);
[INFO] [stdout]    |                 ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 90 |                 error!("modloader error: could not load mod: {}", string);
[INFO] [stdout]    |                 ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 38 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dinput8`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]  --> src/lib.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | static mut FUNCS: [FARPROC; 5] = [0 as FARPROC; 5];
[INFO] [stdout]   |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]  --> src/lib.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 9 | static mut FUNCS: [FARPROC; 5] = [0 as FARPROC; 5];
[INFO] [stdout]   |                                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/lib.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |     dll_module: HINSTANCE,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 29 |     call_reason: DWORD,
[INFO] [stdout]    |                  ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/lib.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     reserved: LPVOID)
[INFO] [stdout]    |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     -> BOOL {
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |     const DLL_PROCESS_ATTACH: DWORD = 1;
[INFO] [stdout]    |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 |         _ => TRUE
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/lib.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn init() -> BOOL {
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stdout]   --> src/lib.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let dinput = unsafe { LoadLibraryA(s(b"C:\\Windows\\System32\\dinput8.dll\0")) };
[INFO] [stdout]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 AllocConsole();
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 60 |         error!("modloader error: could not load real dinput8");
[INFO] [stdout]    |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 60 |         error!("modloader error: could not load real dinput8");
[INFO] [stdout]    |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 60 |         error!("modloader error: could not load real dinput8");
[INFO] [stdout]    |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 60 |         error!("modloader error: could not load real dinput8");
[INFO] [stdout]    |         ------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 |         return FALSE;
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         FUNCS[0] = GetProcAddress(dinput, s(b"DirectInput8Create\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         FUNCS[1] = GetProcAddress(dinput, s(b"DllCanUnloadNow\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |         FUNCS[2] = GetProcAddress(dinput, s(b"DllGetClassObject\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 |         FUNCS[3] = GetProcAddress(dinput, s(b"DllRegisterServer\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |         FUNCS[4] = GetProcAddress(dinput, s(b"DllUnregisterServer\0"));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         Ok(()) => TRUE,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 AllocConsole();
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 74 |             error!("modloader error: {}", e);
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 74 |             error!("modloader error: {}", e);
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 74 |             error!("modloader error: {}", e);
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 74 |             error!("modloader error: {}", e);
[INFO] [stdout]    |             --------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/lib.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 |             FALSE
[INFO] [stdout]    |             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope
[INFO] [stdout]   --> src/lib.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 88 |             let m = unsafe { LoadLibraryA(cstring.as_c_str().as_ptr()) };
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 AllocConsole();
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 90 |                 error!("modloader error: could not load mod: {}", string);
[INFO] [stdout]    |                 ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetStdHandle` in this scope
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 90 |                 error!("modloader error: could not load mod: {}", string);
[INFO] [stdout]    |                 ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 90 |                 error!("modloader error: could not load mod: {}", string);
[INFO] [stdout]    |                 ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:45:42
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 SetStdHandle(STD_OUTPUT_HANDLE, 0 as HANDLE);
[INFO] [stdout]    |                                                      ^^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 90 |                 error!("modloader error: could not load mod: {}", string);
[INFO] [stdout]    |                 ---------------------------------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 38 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "03bcdfdddd8ed012dbc91ab169251c2effadba8d33793af58465add80b63dd5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03bcdfdddd8ed012dbc91ab169251c2effadba8d33793af58465add80b63dd5e", kill_on_drop: false }`
[INFO] [stdout] 03bcdfdddd8ed012dbc91ab169251c2effadba8d33793af58465add80b63dd5e
